import request from '@/utils/request'

// // 根据ID获取信息
export function getTaskInfoById(data) {
  return request({
    url: '/bill/purchaseReturn/'+data,
    method: 'get',
  })
}


// 查询调拨出库单列表
export function getAdjustOutList(query) {
  return request({
    url: '/bill/purchaseReturn/list',
    method: 'get',
    params: query
  })
}
// 查询调拨出库单明细列表
export function getAdjustOutBillDetailList(query) {
  return request({
    url: '/bill/purchaseReturnDetail/list',
    method: 'get',
    params: query
  })
}

// //执行出库
export function executeAdjustOutBill(data) {
  return request({
    url: '/bill/purchaseReturn/execute',
    method: 'post',
	data
  })
}